package club.caihappy.pojo;

import lombok.Data;
import org.springframework.beans.factory.annotation.Autowired;

import javax.annotation.Resource;

/**
 * Created by 百岁 on 2021/7/8
 **/
@Data
public class Person {
//    @Autowired
    @Resource
    private Cat cat;
    @Autowired
    private Dog dog;
    private String name;
}
